package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallCart;
import com.project.mall.bean.generator.CskaoyanmallCartExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallCartMapper {
    long countByExample(CskaoyanmallCartExample example);

    int deleteByExample(CskaoyanmallCartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallCart record);

    int insertSelective(CskaoyanmallCart record);

    List<CskaoyanmallCart> selectByExample(CskaoyanmallCartExample example);

    CskaoyanmallCart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallCart record, @Param("example") CskaoyanmallCartExample example);

    int updateByExample(@Param("record") CskaoyanmallCart record, @Param("example") CskaoyanmallCartExample example);

    int updateByPrimaryKeySelective(CskaoyanmallCart record);

    int updateByPrimaryKey(CskaoyanmallCart record);
}